Optimal. Leaf size=118 \[ \frac {d^2 (d+e x)^3}{5 e^4 \left (d^2-e^2 x^2\right )^{5/2}}-\frac {13 d (d+e x)^2}{15 e^4 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {32 (d+e x)}{15 e^4 \sqrt {d^2-e^2 x^2}}-\frac {\tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {1649, 792, 223,
209} \begin {gather*} -\frac {\text {ArcTan}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e^4}+\frac {d^2 (d+e x)^3}{5 e^4 \left (d^2-e^2 x^2\right )^{5/2}}-\frac {13 d (d+e x)^2}{15 e^4 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {32 (d+e x)}{15 e^4 \sqrt {d^2-e^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 223
Rule 792
Rule 1649
Rubi steps
\begin {align*} \int \frac {x^3 (d+e x)^3}{\left (d^2-e^2 x^2\right )^{7/2}} \, dx &=\frac {d^2 (d+e x)^3}{5 e^4 \left (d^2-e^2 x^2\right )^{5/2}}-\frac {\int \frac {(d+e x)^2 \left (\frac {3 d^3}{e^3}+\frac {5 d^2 x}{e^2}+\frac {5 d x^2}{e}\right )}{\left (d^2-e^2 x^2\right )^{5/2}} \, dx}{5 d}\\ &=\frac {d^2 (d+e x)^3}{5 e^4 \left (d^2-e^2 x^2\right )^{5/2}}-\frac {13 d (d+e x)^2}{15 e^4 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {\int \frac {\left (\frac {17 d^3}{e^3}+\frac {15 d^2 x}{e^2}\right ) (d+e x)}{\left (d^2-e^2 x^2\right )^{3/2}} \, dx}{15 d^2}\\ &=\frac {d^2 (d+e x)^3}{5 e^4 \left (d^2-e^2 x^2\right )^{5/2}}-\frac {13 d (d+e x)^2}{15 e^4 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {32 (d+e x)}{15 e^4 \sqrt {d^2-e^2 x^2}}-\frac {\int \frac {1}{\sqrt {d^2-e^2 x^2}} \, dx}{e^3}\\ &=\frac {d^2 (d+e x)^3}{5 e^4 \left (d^2-e^2 x^2\right )^{5/2}}-\frac {13 d (d+e x)^2}{15 e^4 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {32 (d+e x)}{15 e^4 \sqrt {d^2-e^2 x^2}}-\frac {\text {Subst}\left (\int \frac {1}{1+e^2 x^2} \, dx,x,\frac {x}{\sqrt {d^2-e^2 x^2}}\right )}{e^3}\\ &=\frac {d^2 (d+e x)^3}{5 e^4 \left (d^2-e^2 x^2\right )^{5/2}}-\frac {13 d (d+e x)^2}{15 e^4 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {32 (d+e x)}{15 e^4 \sqrt {d^2-e^2 x^2}}-\frac {\tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.39, size = 95, normalized size = 0.81 \begin {gather*} \frac {\left (-22 d^2+51 d e x-32 e^2 x^2\right ) \sqrt {d^2-e^2 x^2}}{15 e^4 (-d+e x)^3}+\frac {\log \left (-\sqrt {-e^2} x+\sqrt {d^2-e^2 x^2}\right )}{e^3 \sqrt {-e^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(376\) vs.
\(2(104)=208\).
time = 0.08, size = 377, normalized size = 3.19
method | result | size |
default | \(e^{3} \left (\frac {x^{5}}{5 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {\frac {x^{3}}{3 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {3}{2}}}-\frac {\frac {x}{e^{2} \sqrt {-e^{2} x^{2}+d^{2}}}-\frac {\arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-e^{2} x^{2}+d^{2}}}\right )}{e^{2} \sqrt {e^{2}}}}{e^{2}}}{e^{2}}\right )+3 e^{2} d \left (\frac {x^{4}}{e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {4 d^{2} \left (\frac {x^{2}}{3 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {2 d^{2}}{15 e^{4} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}\right )}{e^{2}}\right )+3 e \,d^{2} \left (\frac {x^{3}}{2 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {3 d^{2} \left (\frac {x}{4 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {d^{2} \left (\frac {x}{5 d^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}+\frac {\frac {4 x}{15 d^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {3}{2}}}+\frac {8 x}{15 d^{4} \sqrt {-e^{2} x^{2}+d^{2}}}}{d^{2}}\right )}{4 e^{2}}\right )}{2 e^{2}}\right )+d^{3} \left (\frac {x^{2}}{3 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {2 d^{2}}{15 e^{4} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}\right )\) | \(377\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 273 vs.
\(2 (100) = 200\).
time = 0.50, size = 273, normalized size = 2.31 \begin {gather*} \frac {3 \, d^{2} x^{3} e^{\left (-1\right )}}{2 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} - \frac {11 \, d^{3} x^{2} e^{\left (-2\right )}}{3 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} - \frac {9 \, d^{4} x e^{\left (-3\right )}}{10 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} + \frac {22 \, d^{5} e^{\left (-4\right )}}{15 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} + \frac {1}{15} \, {\left (\frac {15 \, x^{4} e^{\left (-2\right )}}{{\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} - \frac {20 \, d^{2} x^{2} e^{\left (-4\right )}}{{\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} + \frac {8 \, d^{4} e^{\left (-6\right )}}{{\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}}\right )} x e^{3} - \frac {1}{3} \, {\left (\frac {3 \, x^{2} e^{\left (-2\right )}}{{\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {3}{2}}} - \frac {2 \, d^{2} e^{\left (-4\right )}}{{\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {3}{2}}}\right )} x e + \frac {3 \, d x^{4}}{{\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} + \frac {17 \, d^{2} x e^{\left (-3\right )}}{30 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {3}{2}}} - \arcsin \left (\frac {x e}{d}\right ) e^{\left (-4\right )} + \frac {2 \, x e^{\left (-3\right )}}{15 \, \sqrt {-x^{2} e^{2} + d^{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.98, size = 152, normalized size = 1.29 \begin {gather*} \frac {22 \, x^{3} e^{3} - 66 \, d x^{2} e^{2} + 66 \, d^{2} x e - 22 \, d^{3} + 30 \, {\left (x^{3} e^{3} - 3 \, d x^{2} e^{2} + 3 \, d^{2} x e - d^{3}\right )} \arctan \left (-\frac {{\left (d - \sqrt {-x^{2} e^{2} + d^{2}}\right )} e^{\left (-1\right )}}{x}\right ) - {\left (32 \, x^{2} e^{2} - 51 \, d x e + 22 \, d^{2}\right )} \sqrt {-x^{2} e^{2} + d^{2}}}{15 \, {\left (x^{3} e^{7} - 3 \, d x^{2} e^{6} + 3 \, d^{2} x e^{5} - d^{3} e^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3} \left (d + e x\right )^{3}}{\left (- \left (- d + e x\right ) \left (d + e x\right )\right )^{\frac {7}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.71, size = 170, normalized size = 1.44 \begin {gather*} -\arcsin \left (\frac {x e}{d}\right ) e^{\left (-4\right )} \mathrm {sgn}\left (d\right ) - \frac {2 \, {\left (\frac {95 \, {\left (d e + \sqrt {-x^{2} e^{2} + d^{2}} e\right )} e^{\left (-2\right )}}{x} - \frac {145 \, {\left (d e + \sqrt {-x^{2} e^{2} + d^{2}} e\right )}^{2} e^{\left (-4\right )}}{x^{2}} + \frac {75 \, {\left (d e + \sqrt {-x^{2} e^{2} + d^{2}} e\right )}^{3} e^{\left (-6\right )}}{x^{3}} - \frac {15 \, {\left (d e + \sqrt {-x^{2} e^{2} + d^{2}} e\right )}^{4} e^{\left (-8\right )}}{x^{4}} - 22\right )} e^{\left (-4\right )}}{15 \, {\left (\frac {{\left (d e + \sqrt {-x^{2} e^{2} + d^{2}} e\right )} e^{\left (-2\right )}}{x} - 1\right )}^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3\,{\left (d+e\,x\right )}^3}{{\left (d^2-e^2\,x^2\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________